package com.xiaoba.product.domain;

import java.math.BigDecimal;

import com.xiaoba.common.core.annotation.Excel;
import com.xiaoba.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品信息对象 pms_spu_info
 *
 * @author gd
 * @date 2024-05-29
 */
public class PmsSpuInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String spuName;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String spuDescription;

    /** 所属分类id */
    @Excel(name = "所属分类id")
    private Long catalogId;

    /** 品牌id */
    @Excel(name = "品牌id")
    private Long brandId;

    /** $column.columnComment */
    @Excel(name = "重量", readConverterExp = "$column.readConverterExp()")
    private BigDecimal weight;

    /** 上架状态[0 - 下架，1 - 上架] */
    @Excel(name = "上架状态[0 - 下架，1 - 上架]")
    private Integer publishStatus;

    /** 品牌名 */
    @Excel(name = "品牌名")
    private String brandname;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryname;

    public String getBrandname() {
        return brandname;
    }

    public void setBrandname(String brandname) {
        this.brandname = brandname;
    }

    public String getCategoryname() {
        return categoryname;
    }

    public void setCategoryname(String categoryname) {
        this.categoryname = categoryname;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSpuName(String spuName)
    {
        this.spuName = spuName;
    }

    public String getSpuName()
    {
        return spuName;
    }
    public void setSpuDescription(String spuDescription)
    {
        this.spuDescription = spuDescription;
    }

    public String getSpuDescription()
    {
        return spuDescription;
    }
    public void setCatalogId(Long catalogId)
    {
        this.catalogId = catalogId;
    }

    public Long getCatalogId()
    {
        return catalogId;
    }
    public void setBrandId(Long brandId)
    {
        this.brandId = brandId;
    }

    public Long getBrandId()
    {
        return brandId;
    }
    public void setWeight(BigDecimal weight)
    {
        this.weight = weight;
    }

    public BigDecimal getWeight()
    {
        return weight;
    }
    public void setPublishStatus(Integer publishStatus)
    {
        this.publishStatus = publishStatus;
    }

    public Integer getPublishStatus()
    {
        return publishStatus;
    }

    @Override
    public String toString() {
        return "PmsSpuInfo{" +
                "id=" + id +
                ", spuName='" + spuName + '\'' +
                ", spuDescription='" + spuDescription + '\'' +
                ", catalogId=" + catalogId +
                ", brandId=" + brandId +
                ", weight=" + weight +
                ", publishStatus=" + publishStatus +
                ", brandname='" + brandname + '\'' +
                ", categoryname='" + categoryname + '\'' +
                '}';
    }
}
